Callback
Constructors
Link copied to clipboard
Creates a new WindowInsetsAnimationCompat callback with the given dispatch mode.
Types
Link copied to clipboard
Properties
Link copied to clipboard
Return value for getDispatchMode: Dispatching of animation events should continue in the view hierarchy.
Link copied to clipboard
Return value for getDispatchMode: Dispatching of animation events should stop at this level in the view hierarchy, and no animation events should be dispatch to the subtree of the view hierarchy.
Functions
Link copied to clipboard
Retrieves the dispatch mode of this listener.
Link copied to clipboard
Called when an insets animation has ended.
Link copied to clipboard
Called when an insets animation is about to start and before the views have been re-laid out due to an animation.
Link copied to clipboard
abstract fun onProgress(@NonNull insets: WindowInsetsCompat, @NonNull runningAnimations: List<WindowInsetsAnimationCompat>): WindowInsetsCompat
Called when the insets change as part of running an animation.
Link copied to clipboard
open fun onStart(@NonNull animation: WindowInsetsAnimationCompat, @NonNull bounds: WindowInsetsAnimationCompat.BoundsCompat): WindowInsetsAnimationCompat.BoundsCompat
Called when an insets animation gets started.